package com.supcon.exchangedata.repository.slave4;

import com.supcon.exchangedata.pojo.entity.mysql.operation.gj.SgjjtElectricStop;
import com.supcon.exchangedata.pojo.entity.mysql.operation.gj.SgjjtPbzyjhb;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *  公交排班计划
 * @Author: yangbin
 * @Date: 2022/04/20/9:00
 * @Description:
 */
public interface SlaveGjBasicInfo6 extends JpaRepository<SgjjtPbzyjhb, Long> {
    //SELECT * FROM `sgjjt_pbzyjhb` where op = 'insert'
    @Modifying
    @Query(nativeQuery = true,value = "SELECT * FROM sgjjt_pbzyjhb where op = 'insert'")
    public List<SgjjtPbzyjhb> findAllGjpbjh();
}
